<template>
  <div>
    <Tabs 
    :linklist="linklist"
    :btnList="btnList"
    :tableData="tableData"
    :titleList="titleList"
    />
  </div>
</template>

<script>
import Tabs from '../../../components/List.vue'
export default {
    data(){
      return{
        linklist: [
        { id: 0, name: "续费记录", isRouter: false },
        { id: 1, name: "到期日期", isRouter: false },
        { id: 2, name: "总金额", isRouter: false },
        { id: 3, name: "已收款", isRouter: false },
        { id: 4, name: "备注", isRouter: false },
        { id: 5, name: "续费状态", isRouter: false },
        { id: 6, name: "业务员", isRouter: false },
        { id: 7, name: "录入时间", isRouter: false },
      ],
        btnList: [
        { id: 1, name: "修改", type: "合同" },
        { id: 2, name: "删除", type: "合同" },
        ],
      tableData: [],
      titleList: [
        "moneys", //续费记录
        "contract_endday", //到期日期
        "contract_summoney", //总金额
        "contract_receivemoney", //已收款
        "contract_moneycomment", //备注
        "contract_moneystatus", //续费状态
        "contract_yewuyuan", //业务员
        "contract_entertime", //录入时间
        "contract_control", //管理
      ],
      }
    },

    components:{
      Tabs
    },

    mounted(){
      console.log(this.$route.query.info);
      this.tableData.push(this.$route.query.info)
      this.tableData[0].moneys = '合同初始信息'
      this.tableData[0].contract_moneycomment = '-'
      this.tableData[0].contract_moneystatus = '-'
      this.tableData[0].contract_yewuyuan = '-'
      this.tableData[0].contract_entertime = '-'
      this.tableData[0].contract_control = '-'
    }
}
</script>

<style>

</style>